package cn.scw.project.system.domain.vo;

import cn.scw.project.system.domain.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description:
 * @author: lj
 * @create: 2020-06-05
 **/
@Data
@ApiModel("小程序用户信息")
public class SysUserWxVo {
    @ApiModelProperty("用户")
    private SysUser sysUser;

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("优惠券数量")
    private Integer couponCount;

    @ApiModelProperty("设备数量")
    private Integer facilityCount;

    @ApiModelProperty("是否是经销商")
    private Boolean isDealer;

    public SysUserWxVo() {
    }

    public SysUserWxVo(SysUser sysUser, String token, Integer couponCount, Integer facilityCount, Boolean isDealer) {
        this.sysUser = sysUser;
        this.token = token;
        this.couponCount = couponCount;
        this.facilityCount = facilityCount;
        this.isDealer = isDealer;
    }
}
